home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 035a / grinost.zip / DOMAIN.DOC < prev    next >
Text File  |  1991-06-26  |  3KB  |  100 lines

  1. by Mike Bilow, N1BEE
  2. June 25, 1991
  3.  
  4.  
  5. Here are the basic translation rules which are employed by GRINOS for
  6. resolving a hostname to an IP address.  These examples all assume that
  7. a domain suffix (ampr.org.) has been set up.
  8.  
  9.  
  10. The basic rule is the same as in G1EMM NOS (KH113016) and its derivatives.
  11.  
  12. 1.  If a name is supplied without a dot in it, the domain suffix is appended:
  13.  
  14.      Search request: n1bee
  15.      Translates to:  n1bee.ampr.org.
  16.      Match record:   n1bee.ampr.org.  IN  A  44.104.0.20
  17.  
  18.  
  19. In G1EMM NOS, names with dots will never have the domain suffix appended.
  20. GRINOS adds two cases where the domain suffix can be appended, depending
  21. upon where the last dot is found and what follows it.
  22.  
  23.  
  24. 2.  If a name is supplied with a dot in it, and there are more than four 
  25. characters following the last dot, the domain suffix is appended:
  26.  
  27.      Search request: switch.w1cg-9
  28.      Translates to:  switch.w1cg-9.ampr.org.
  29.      Match record:   switch.w1cg-9.ampr.org.  IN  A  44.104.0.2
  30.  
  31.  
  32. 3.  If a name is supplied with a dot in it, there are four or less characters
  33. following the last dot, and one of the characters following the last dot is a
  34. numeral, the domain suffix is appended:
  35.  
  36.      Search request: balrog.k8lt
  37.      Translates to:  balrog.k8lt.ampr.org.
  38.      Match record:   balrog.k8lt.ampr.org.  IN  A  44.52.0.17
  39.  
  40.  
  41. In all other cases, the domain suffix will not be appended.  This forces
  42. the use of special rules within the DOMAIN.TXT file.  In particular, names
  43. which are like the above but have a trailing dot left in them must be handled
  44. separately with a PTR or CNAME record type that initiates another search:
  45.  
  46.      Search request: switch.w1cg-9.
  47.      Translates to:  switch.w1cg-9.
  48.      Match record:   switch.w1cg-9.  IN  CNAME  switch.w1cg-9.ampr.org.
  49.      Search request: switch.w1cg-9.ampr.org.
  50.      Translates to:  switch.w1cg-9.ampr.org.
  51.      Match record:   switch.w1cg-9.ampr.org.  IN  A  44.104.0.2
  52.  
  53.  
  54. The above rules handle most cases that will be encountered, but they also
  55. imply that certain hostnames require canonical name records:
  56.  
  57.      Search request: kc2fd.sl
  58.      Translates to:  kc2fd.sl.
  59.      Match record:   kc2fd.sl.  IN  CNAME  kc2fd.sl.ampr.org.
  60.      Search request: kc2fd.sl.ampr.org.
  61.      Translates to:  kc2fd.sl.ampr.org.
  62.      Match record:   kc2fd.sl.ampr.org.  IN  A  44.68.8.57
  63.  
  64.  
  65. A few things that have been all right until now should be fixed up.
  66.  
  67. 1.  A number of entries in the DOMAIN.TXT files that can no longer be matched
  68. unless fully qualified should have CNAME records inserted:
  69.  
  70.      Search request: poli.nyli
  71.      Translates to:  poli.nyli.
  72.      Match record:   (none)
  73.  
  74.      Intended record: poli.nyli.ampr.org.  IN  A  44.68.16.1
  75.  
  76.  
  77. 2.  All type A (address) records should be fully qualified or they cannot be
  78. matched at all:
  79.  
  80.      Search request: w2jup
  81.      Translates to:  w2jup.ampr.org.
  82.      Match record:   (none)
  83.  
  84.      Intended record: w2jup.  IN  A  44.68.8.99
  85.  
  86.  
  87. 3.  All null host A and null address CNAME records should be removed, as
  88. they serve no function and can cause incorrect address resolution.
  89.  
  90.      Search request: kb2kmy2
  91.      Translates to:  kb2kmy2.ampr.org.
  92.      Match record:   kb2kmy2.ampr.org.  IN  CNAME  .
  93.      Search request: .
  94.      Translates to:  .
  95.      Match record:   .  IN  A  44.56.4.48
  96.  
  97.      Intended record: kb2kmy2.ampr.org.  IN  A  44.68.64.165
  98.  
  99.  
  100.